package com.woniuxy.trade;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.context.annotation.ComponentScan;

@EnableFeignClients(
        basePackages = {
                "com.woniuxy.sddfp.api.user",
                "com.woniuxy.sddfp.api.bank"
        }
)
@SpringBootApplication
@MapperScan("com.woniuxy.trade.mapper")
@ComponentScan({"com.woniuxy.common","com.woniuxy.trade"})
public class TradeCenterApplication {
    public static void main(String[] args) {
        SpringApplication.run(TradeCenterApplication.class, args);
    }
}